﻿namespace 职责链模式
{
   public class Pm:Boss
    {
       public Pm(string name) : base(name)
       {
       }

       public override bool PassRequest(Request request)
       {
            var day = request.Day;
            var reason = request.Reason;
            if (day <= 0.5)
                return true;
            return Successor.PassRequest(request);
            
        }
    }
}
